<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />

        <!-- blueprint CSS framework -->
        <!--[if lt IE 8]>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
        <![endif]-->

        <link rel="shortcut icon" href="<?php echo Yii::app()->request->baseUrl; ?>/images/favicon.ico" type="image/x-icon" />

        <!--script src="jquery.js" type="text/javascript"></script>
        <script src="jquery.maskedinput.js" type="text/javascript"></script-->
        <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/print.js" type="text/javascript"></script>

        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

<!--link rel="stylesheet" type="text/css" href="<?php //echo Yii::app()->request->baseUrl;     ?>/css/themes/redmond/jquery-ui.css" /-->
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/font-awesome/css/font-awesome.min.css" />

        <?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>		
        <!--script type="text/javascript" src="jquery.meiomask.js" charset="utf-8"></script-->
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>

    <body>

        <div class="navbar navbar-fixed-top">
            <?php
            $this->widget('bootstrap.widgets.TbNavbar', array(
                'type' => 'inverse', // null or 'inverse'
                /*
                  'brand' => CHtml::image(Yii::app()->request->baseUrl.'/images/logo.png','Logo Daerah',array('style'=>'position:absolute;margin-top:-10px;height:40px;width:47px;')) .
                  CHtml::tag('div', array('class' => 'navbar-title','style'=>'margin-left:55px'), 'Sistem Informasi Management Aset', true) .
                  CHtml::tag('div', array('class' => 'navbar-subtitle','style'=>'margin-left:55px'), 'Kota/Kab. '.ucwords(strtolower($header['nm_dati2'])).'  Propinsi '.ucwords(strtolower($header['nm_propinsi'])).'', true),
                 */
                'brandUrl' => '#',
                'collapse' => true, // requires bootstrap-responsive.css
                'items' => array(
                    array(
                        'class' => 'bootstrap.widgets.TbMenu',
                        'htmlOptions' => array('class' => 'pull-right'),
                        'items' => array(
                            //array('label' => 'Dashboard', 'url' => Yii::app()->createUrl('/user/profile/'), 'icon' => 'dashboard'),
                            //array('label' => 'GIS', 'url' => '#', 'icon' => 'map-marker'),
                            array('label' => 'Utilities', 'url' => '#', 'icon' => 'cog', 'items' => array(
                                    //array('label' => 'Jabatan Sistem', 'url' => Yii::app()->createUrl('Utilities/JabatanSistem')),
                                    //array('label' => 'User', 'url' => '#'),
                                    //'---',
                                    //array('label' => 'Akses Menu Sistem', 'url' => '#'),
                                    //array('label' => 'Ganti Password', 'url' => '#'),
                                    //'---',
                                    //array('label' => 'Backup Database', 'url' => '#'),
                                    //'---',
                                    array('label' => 'Entry Data Organisasi', 'url' => Yii::app()->createUrl('Utilities/EntryDataOrganisasi/create')),
                                    array('label' => 'Entry Data Pejabat', 'url' => Yii::app()->createUrl('Utilities/EntryDataPejabat')),
                                    array('label' => 'Setting Nilai', 'url' => Yii::app()->createUrl('Utilities/SettingNilai/create')),
                                    array('label' => 'Setting Nomor', 'url' => Yii::app()->createUrl('Utilities/SettingNomor/create')),
                                //'---',
                                //	array('label' => 'Register System', 'url' => '#'),
                                //	array('label' => 'Hapus Data BPHTB', 'url' => '#'),
                                )),
                            array('label' => Yii::app()->user->name, 'url' => '#', 'icon' => 'user', 'items' => array(
                                    //array('label' => 'My Profile', 'url' => '#'),
                                    //'---',
                                    array('label' => 'Logout', 'url' => Yii::app()->createUrl('/site/logout/')),
                                )),
                        ),),
                ),
            ));
            ?>
        </div>

        <div class="subnavbar" style="left: 0;right: 0;position: fixed;margin-bottom: 0;z-index: 20;top: 55px;">
            <div class="subnavbar-inner">
                <div class="container">
                    <a class="btn-subnavbar collapsed" data-toggle="collapse" data-target=".subnav-collapse">
                        <i class="icon-reorder"></i>
                    </a>

                    <div class="subnav-collapse collapse">
                        <ul class="mainnav">
                            <!-- 01 Pembayaran BPHTB -->
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    <i class="icon-th"></i>
                                    <span>ASET</span>
                                    <b class="caret"></b>
                                </a>

                                <ul class="dropdown-menu">
                                    <li>
                                        <a tabindex="-1" href="<?php echo Yii::app()->createUrl('KIB/KibA/create') ?>">Entry KIB.A - Tanah</a>
                                        <a tabindex="-1" href="<?php echo Yii::app()->createUrl('KIB/KibB/create') ?>">Entry KIB.B - Peralatan dan Mesin</a>
                                    </li>
<!--<li><a href="<?php //echo Yii::app()->createUrl('Pembayaran/LaporanHarian/create')     ?>">Laporan Harian</a></li> -->
                                    <!--
            <li><a href="<?php //echo Yii::app()->createUrl('Pembayaran/ValidasiPembayaran/cetak')     ?>">validasi Pembayaran BPHTB</a></li>
                                            <li class="divider"></li>
                                            <li><a href="#">Update Status Setoran</a></li>
                                    -->
                                </ul>
                            </li>


                            <!-- 07 Master File -->
                            <li class="dropdown">					
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    <i class="icon-th"></i>
                                    <span>Master File</span>
                                    <b class="caret"></b>
                                </a>	

                                <ul class="dropdown-menu">
                                    <li><a href="<?php echo Yii::app()->createUrl('MasterFile/Sk/list') ?>">Jenis SK</a></li>
                                    <li><a href="<?php echo Yii::app()->createUrl('MasterFile/Jabatan/list') ?>">Jabatan</a></li>
                                    <li><a href="<?php echo Yii::app()->createUrl('MasterFile/Ppat/list') ?>">PPAT</a></li>
                                    <li><a href="<?php echo Yii::app()->createUrl('MasterFile/FaktorHit/list') ?>">Faktor Hitung</a></li>
                                    <li><a href="<?php echo Yii::app()->createUrl('MasterFile/JenisDok/list') ?>">Jenis Dokumen</a></li>
                                    <li><a href="<?php echo Yii::app()->createUrl('MasterFile/JenisPrh/list') ?>">Perolehan</a></li>
                                   <!-- <li><a href="<?php echo Yii::app()->createUrl('MasterFile/RekDinas/list') ?>">Bank Dinas</a></li> -->
                                    <li><a href="<?php echo Yii::app()->createUrl('MasterFile/ObjekPajak/list') ?>">Objek Pajak</a></li>
                                    <!--	<li class="divider"></li>
                <li><a href="<?php echo Yii::app()->createUrl('MasterFile/ViaBayar/List') ?>">Via Pembayaran</a></li>
                                    -->
                                </ul>    				
                            </li>                        

                            <!-- 08 Tambahan -->
                            <!--
<li class="dropdown">					
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                            <i class="icon-th"></i>
                                            <span>Tambahan</span>
                                            <b class="caret"></b>
                                    </a>	

                                    <ul class="dropdown-menu">
                                            <li class="dropdown-submenu">
                                                    <a tabindex="-1" href="#">SSPD</a>
                                                    <ul class="dropdown-menu">
                                                            <li><a tabindex="-1" href="#">Penerimaan</a></li>
                                                            <li><a tabindex="-1" href="#">Pengeluaran via PPAT</a></li>
                                                            <li><a tabindex="-1" href="#">Laporan Stok</a></li>
                                                            <li><a tabindex="-1" href="#">Laporan Pemakaian</a></li>
                                                    </ul>
                                            </li>
                                            <li class="dropdown-submenu">
                                                    <a tabindex="-1" href="#">TIB</a>
                                                    <ul class="dropdown-menu">
                                                            <li><a tabindex="-1" href="#">via PPAT</a></li>
                                                            <li><a tabindex="-1" href="#">via Pribadi</a></li>
                                                    </ul>
                                            </li>
                                    </ul>    				
                            </li> -->
                        </ul>
                    </div> <!-- /.subnav-collapse -->
                </div> <!-- /container -->
            </div> <!-- /subnavbar-inner -->
        </div> <!-- /subnavbar -->

        <div class="main" style="margin-top: 150px;">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <div class="widget stacked">
                            <div class="widget-header">
                                <i class="icon-th-large"></i>
                                <h3><?php echo $this->title ?></h3>
                            </div>
                            <div class="widget-content">
                                <?php echo $content; ?>
                            </div>
                        </div>
                    </div>                
                </div> <!-- /row -->
            </div> <!-- /container -->
        </div> <!-- /main -->

        <div class="clear"></div>

        <div class="footer">
            <div class="container">
                <div class="row">
                    <div id="footer-copyright" class="span6">
                        CV. TransCode &copy; <?php echo date('Y') ?>
                    </div> <!-- /span6 -->

                    <div id="footer-terms" class="span5">
                        Sistem Informasi Management Aset
                    </div> <!-- /.span6 -->
                </div> <!-- /row -->
            </div> <!-- /container -->
        </div> <!-- /footer -->

        <?php //if (isset($this->breadcrumbs)):  ?>
        <?php
        //$this->widget('zii.widgets.CBreadcrumbs', array(
        //	'links' => $this->breadcrumbs,
        //));
        ?><!-- breadcrumbs -->
        <?php //endif ?>

    </body>
</html>
